//
//  LFBCustomButton.m
//  loveFreshBeen
//
//  Created by Feng on 2017/7/10.
//  Copyright © 2017年 feng. All rights reserved.
//

#import "LFBCustomButton.h"

@implementation LFBCustomButton

#pragma mark - 返回值为CGRect 控制的时 按钮中 label的frame
- (CGRect)titleRectForContentRect:(CGRect)contentRect {
    
    return CGRectMake(0, 50, self.frame.size.width, 30);
}

#pragma mark - 返回值为CGRect 控制的是 按钮中 imageView的frame
- (CGRect)imageRectForContentRect:(CGRect)contentRect {
    
    return CGRectMake(self.frame.size.width / 2 - 30, 0, 65, 50);
}

@end
